# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Martin Wimpress <code@flexion.org>

pkgname=python-qrencode
pkgver=1.2
pkgrel=12
pkgdesc='Simple wrapper for the C qrencode library'
url='https://pypi.python.org/pypi/qrencode/'
arch=('loong64' 'x86_64')
license=('MIT')
depends=('python' 'python-pillow' 'qrencode' 'glibc')
source=(https://pypi.org/packages/source/q/qrencode/qrencode-${pkgver}.tar.gz)
sha512sums=('e6ebf0c2d2081408ef3d4f4a2a44712e86f70019e34da5de49c1a31a26d69cafac07afb501be24bc95a2525e038a47a74f02279981ade1d33b3e96d3dbb5ce5f')

package_python-qrencode() {
  cd qrencode-${pkgver}
  python setup.py install --prefix=/usr --root="${pkgdir}" -O1
}

# vim: ts=2 sw=2 et:
